﻿TEMPLATE = app
TARGET =
DEPENDPATH += . i18n
INCLUDEPATH += .

DEFINES *= QT_USE_QSTRINGBUILDER

# Input

LIBS += -L/usr/lib64 -lhunspell-1.2

unix {
	HARDWARE_PLATFORM = $$system(uname -i)
	contains( HARDWARE_PLATFORM, x86_64 ) {
		# 64-bit Linux
	LIBS += -L/usr/lib64 -lhunspell-1.2

	} else {
		# 32-bit Linux
	LIBS += -L/usr/lib -lhunspell-1.2
	}
}

HEADERS += messages.h \
		   preferences.h \
		   textedit.h \
		   tools.h \
	mainwindow.h \
	config.h \
	colorselectbutton.h \
	about.h \
	hspell.h \
	hunspell.h
FORMS += messages.ui preferences.ui \
	mainwindow.ui \
	about.ui
SOURCES += main.cpp \
		   messages.cpp \
		   preferences.cpp \
		   textedit.cpp \
		   tools.cpp \
	mainwindow.cpp \
	config.cpp \
	colorselectbutton.cpp \
	about.cpp \
	hspell.cpp
RESOURCES += \
	dicodor.qrc
TRANSLATIONS += i18n/dicodor_en.ts i18n/dicodor_fr.ts i18n/dicodor_it.ts

include (qtsingleapplication/qtsingleapplication.pri)

